﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace FinalProject.Models
{
    public class Song
    {
        public int SongID { get; set; }

        [Required]
        [StringLength(50)]
        public string Title { get; set; }
        // public List<Artist> Artists { get; set; }
        public string Album { get; set; }
        public DateTime ReleseDate { get; set; }
        public string FacebookLink { get; set; }
        public string TwetterLink { get; set; }
        public string YoutubeLink { get; set; }
        public string YoutubeChannel { get; set; }
        public string GooglePlus { get; set; }
        public int TotalRating_5 { get; set; }
        public int TotalRating_1 { get; set; }
        public int TotalRating_2 { get; set; }
        public int TotalRating_3 { get; set; }
        public int TotalRating_4 { get; set; }


    }

    public class SongContext : DbContext
    {
        public DbSet<Song> Songs { get; set; }
    }
    
}